/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-10-26 14:42:12
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {

    searchObj: [

        {
            select: true, //是input
            label: ".", //字段
            prop: "keyType", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "计划类型",
            options: [{
                    label: "==请选择==",
                    value: "==请选择==",
                },
                {
                    label: "目标责任书",
                    value: "目标责任书",
                },
                {
                    label: "月度计划",
                    value: "月度计划",
                },
                {
                    label: "检查计划",
                    value: "检查计划",
                },
                {
                    label: "培训计划",
                    value: "培训计划",
                },
            ]
        },
        {
            select: true, //是input
            label: ".", //字段
            prop: "fStatus", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "完成状态",
            options: [{
                    label: "==请选择==",
                    value: "==请选择==",
                },
                {
                    label: "待审核中",
                    value: "待审核",
                },
                {
                    label: "执行中",
                    value: "执行中",
                }, {
                    label: "已打回",
                    value: "已打回",
                },
                {
                    label: "已完成",
                    value: "已完成",
                }
            ]
        },
    ],

    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
                label: "完成状态",
                prop: "fStatus",
                minWidth: "70px",
                align: "center",
                Jump: true,
            },
            {
                label: "计划编制单位",
                prop: "fPreparacompanyname",
                minWidth: "95px",
                align: "left",

            },

            {
                label: "计划类型",
                prop: "fPlantype",
                minWidth: "85px",
                align: "center",
            },
            {
                label: '计划编号',
                prop: 'fPlannumber',
                minWidth: '110px',

                align: "center",

            },
            {
                label: "计划名称",
                prop: "fPlanname",
                minWidth: "120px",
                align: "left",
            },
            {
                label: "隶属年度",
                prop: "fAffiliationyear",
                minWidth: "75px",
                align: "center",
            },
            {
                label: "隶属月度",
                prop: "fAffiliationmonth",
                minWidth: "70px",
                align: "center",
            },
            {
                label: "计划资料",
                prop: "fWorkfilelist",
                minWidth: "69px",
                align: "left",
                file: true
            },

            {
                label: "填报人",
                prop: "fReportname",
                minWidth: "85px",
                align: "center",
            },
            {
                label: "填报日期",
                prop: "fReportdates",
                minWidth: "90px",
                align: "center",
            },
            {
                label: "审核单位",
                prop: "fCheckunitname",
                minWidth: "70px",
                align: "left",
            },
            {
                label: "审核人",
                prop: "fCheckname",
                minWidth: "60px",
                align: "center",
            }, {
                label: "审核结果",
                prop: "fCheckstatus",
                minWidth: "70px",
                align: "center",
            }, {
                label: "审核日期",
                prop: "fCheckdates",
                minWidth: "90px",
                align: "center",
            }, {
                label: "完成资料编号",
                prop: "fDatanumber",
                minWidth: "95px",
                align: "left",
            }, {
                label: "资料名称",
                prop: "fDataname",
                minWidth: "95px",
                align: "left",
            },
            {
                label: "完成资料",
                prop: "fFinishfileurllist",
                minWidth: "95px",
                align: "left",
                file: true
            },
            {
                label: "填报人",
                prop: "fFinishreportname",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "填报日期",
                prop: "fFinishreportdates",
                minWidth: "90px",
                align: "center",
            }, {
                label: "审核单位",
                prop: "fFinshcheckunitname",
                minWidth: "70px",
                align: "left",
            },
            {
                label: "审核人",
                prop: "fFinshcheckname",
                minWidth: "60px",
                align: "center",
            },
            {
                label: "审核结果",
                prop: "fFinishcheckstatus",
                minWidth: "70px",
                align: "center",
            },
            {
                label: "审核日期",
                prop: "fFinishcheckdates",
                minWidth: "90px",
                align: "center",
            },
            // 

        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],

        },
    },
    btnObj: [{
            fEncode: "yj_add",
            fFullname: "新增计划",
            fOrder: 1
        }, {
            fEncode: "yj_completionStatus",
            fFullname: "完成情况",
            fOrder: 2
        }, {
            fEncode: "yj_edit",
            fFullname: "编辑",
            fOrder: 3
        }, {
            fEncode: "yj_delete",
            fFullname: "删除",
            fOrder: 4
        }, {
            fEncode: "yj_delete",
            fFullname: "提交",
            fOrder: 5
        }, {
            fEncode: "yj_examine",
            fFullname: "审核",
            fOrder: 6
        }
        // , {
        //     fEncode: "yj_return",
        //     fFullname: "退回",
        //     fOrder: 7
        // }
    ]
}